-- GENERATED SPELL FOR [Dark Iron Land Mine] --


function spell0_8035(pUnit, Event) --@Detonation,Self--
pUnit:FullCastSpellOnTarget(4043,pUnit)
pUnit:RegisterEvent('Sorts_8035', 603, 1)
end

function Sorts_8035(pUnit, Event)
local choix_sorts_8035 = math.random(0, 0)
if choix_sorts_8035 == 0 then
pUnit:RegisterEvent('spell0_8035', 1, 1)
end
end

function mob8035_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8035', math.random(1500, 3000), 1)
end

function mob8035_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8035_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8035_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8035, 1, 'mob8035_Action')
RegisterUnitEvent(8035, 2, 'mob8035_Leave')
RegisterUnitEvent(8035, 3, 'mob8035_Kill')
RegisterUnitEvent(8035, 4, 'mob8035_Die')
